<style>
.fui-cell-group .fui-cell .fui-input {
    background-color: #f2f2f2;
	padding:0.2rem;
	font-size:0.7rem;
	height:auto;
	border-radius:0.2rem;
}
.fui-cell-group .fui-cell .fui-cell-info {
    padding-left:0.3rem
}
</style>
<div class="fui-cell-group" style="padding-bottom:2.5rem">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">发票</div>
				</div>
				<div class="fui-cell noborder" style="">
					<div class="fui-cell-label bold" style="width:100px;font-size:0.6rem">发票类型</div>
				</div>
				<div class="fui-cell" style="margin-top:-10px">
					<div class="tag">
						<div style="width:100%">
							<span ng-repeat="(key,value) in pagedata.nowtypes" ng-class="{'fui-tag fuilabel fuilabel-red-0 sale-tip':1,'active':pagedata.post.type==key}" style="margin-right:10px;" ng-click="pagedata.post.type=key">{{value}}</span>
						</div>
						<div class="fui-cell-help">电子普通发票与纸质普通发票具备同等法律效力，可支持报销入账。</div>
					</div>
				</div>
				<div ng-if="pagedata.post.type>0" class="fui-cell">
					<div class="fui-cell-label c" style="width:2.5rem">
						<div style="border-radius: 50%;background:#4491F1;width:2rem;height:2rem;line-height:2rem;color:#fff">
							收
						</div>
					</div>
					<div ng-if="!pagedata.post.address.name" ng-click="pagedata.nowtype=2;pagedata.edit_address=true" class="fui-cell-info bold">
						新建收票地址
					</div>
					<div ng-if="pagedata.post.address.name" class="fui-cell-info">
					<div class="fui-cell" style="padding:0;padding-bottom:0.1rem">
						<div style="width:100%">
							<div class="fui-cell-text name bold" style="font-size:0.8rem">
								<span style="margin-right:20px">{{pagedata.post.address.name}}</span><span>{{pagedata.post.address.mobile}}</span>
							</div>
							<div class="fui-cell-text name" style="margin-top:5px;color:#999;font-size:0.6rem">	
								{{pagedata.post.address.pcd.province||''}} {{pagedata.post.address.pcd.city ||''}} {{pagedata.post.address.pcd.district||''}} {{pagedata.post.address.address ||''}}
							</div>
						</div>
					</div>
					</div>
					<div class="fui-cell-remark noremark" style="width:2rem;line-height:1.2" ng-click="pagedata.nowtype=2;pagedata.get_addresslist()">
						<i class="icon icon-tianmaoanshidaohuo" style="font-size:1.3rem;margin:0 0.2rem"></i>
						<div class="gray" style="font-size:0.6rem">地址薄</div>
					</div>
				</div>
				<div class="fui-cell noborder" style="">
					<div class="fui-cell-label bold" style="width:100px;">发票抬头</div>
				</div>
				<div class="fui-cell" style="margin-top:-10px">
						<div style="width:100%">
							<span ng-class="{'fui-tag fuilabel fuilabel-red-0 sale-tip':1,'active':pagedata.post.usertype !=2}" style="margin-right:10px;" ng-click="pagedata.post.usertype=1;">个人</span>
							<span ng-class="{'fui-tag fuilabel fuilabel-red-0 sale-tip':1,'active':pagedata.post.usertype==2}" style="margin-right:10px;" ng-click="pagedata.post.usertype=2">单位</span>
						</div>
				</div>
				<div class="fui-cell sm-cell">
					<div class="fui-cell-label" style="width:auto;">抬头</div>
					<div class="fui-cell-info">
						<input type="text" placeholder="填写抬头，姓名" class="fui-input" ng-model="pagedata.post.to_name"/>
					</div>			
				</div>
				<div class="fui-cell sm-cell" ng-if="pagedata.post.usertype ==2" >
					<div class="fui-cell-label" style="width:auto;">税号</div>
					<div class="fui-cell-info">
						<input type="text" placeholder="填写税号" class="fui-input" ng-model="pagedata.post.to_code"/>
					</div>		
				</div>
				<div class="fui-cell sm-cell" ng-if="pagedata.post.usertype ==2">
					<div class="fui-cell-label" style="width:auto;">开户行</div>
					<div class="fui-cell-info">
						<input type="text" placeholder="填写开户行" class="fui-input" ng-model="pagedata.post.to_bank"/>
					</div>			
				</div>
				<div class="fui-cell sm-cell" ng-if="pagedata.post.usertype ==2">
					<div class="fui-cell-label" style="width:auto;">银行账号</div>
					<div class="fui-cell-info">
						<input type="text" placeholder="填写银行账号" class="fui-input" ng-model="pagedata.post.to_bankcode"/>
					</div>			
				</div>
				<div class="fui-cell noborder" style="">
					<div class="fui-cell-label bold" style="width:100px;">收票人信息</div>
				</div>
				<div ng-if="pagedata.post.type==0" class="fui-cell sm-cell">
					<div class="fui-cell-label" style="width:auto;">收票人名称</div>
					<div class="fui-cell-info">
						<input type="text" placeholder="填写名称" class="fui-input" ng-model="pagedata.post.address.name"/>
					</div>			
				</div>
				<div ng-if="pagedata.post.type==0" class="fui-cell sm-cell">
					<div class="fui-cell-label" style="width:auto;">收票人手机</div>
					<div class="fui-cell-info">
						<input type="text" placeholder="填写手机" class="fui-input" ng-model="pagedata.post.address.mobile"/>
					</div>			
				</div>
				<div class="fui-cell sm-cell">
					<div class="fui-cell-label " style="width:auto;">收票人邮箱</div>
					<div class="fui-cell-info">
						<input type="text" placeholder="用来接收电子发票邮箱，可选填" class="fui-input" ng-model="pagedata.post.to_email"/>
					</div>
				</div>
				<div class="fui-cell noborder" style="padding-bottom:0">
					<div class="fui-cell-label bold" style="width:auto;">开票内容</div>
				</div>
				<div class="fui-cell noborder" style="padding-top:0">
					<div class="fui-cell-help">发票内容选项已根据税法调整，具体请以最终发票为准</div>
				</div>
				<div class="fui-cell sm-cell">
					<div class="tag">
						<div style="width:100%">
							<span ng-repeat="(key,value) in pagedata.piao_types" ng-class="{'fui-tag fuilabel fuilabel-red-0 sale-tip':1,'active':pagedata.post.piao_type == value}" style="margin-right:10px;" ng-click="pagedata.post.piao_type=value">{{value}}</span>
						</div>
					</div>
				</div>
				<div class="fui-cell sm-cell">
						<div class="fui-cell-label " style="width:auto;">开票内容</div>
						<div class="fui-cell-info">
							<input type="text" placeholder="填写开票内容" class="fui-input" ng-model="pagedata.post.piao_type"/>
							<div class="fui-cell-help">发票内容将显示详细商品名称与价格信息</div>
						</div>
				</div>
			</div>